package io.github.fb513.common.model;

import lombok.Data;

/**
 * @author fengbo
 * @since 2023/12/28 9:39
 */
@Data
public class BaseData<T> {

    private Long userId;
    private Integer clientType;
    private T content;

    public BaseData() {
    }

    public BaseData(Long userId, Integer clientType) {
        this.userId = userId;
        this.clientType = clientType;
    }

    public BaseData(Long userId, Integer clientType, T content) {
        this.userId = userId;
        this.clientType = clientType;
        this.content = content;
    }
}
